package com.tmc.bean.intcar;

/**
 * @author zhang
 * @date 2017年12月29日 下午4:29:31 
 */
public class EthPushDriverResp {
	private boolean success;
	private String message;
	
	
	public EthPushDriverResp() {
		super();
	}
	public EthPushDriverResp(boolean success, String message) {
		super();
		this.success = success;
		this.message = message;
	}
	
	public static EthPushDriverResp makeFail(String message){
		return new EthPushDriverResp(false, message);
	}
	
	public static EthPushDriverResp makeSuccess(String message){
		return new EthPushDriverResp(true, message);
	}
	
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
}
